<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">

    <title>今日水印相机增强版</title>
    <link href="bootstrap.min.css" rel="stylesheet">
    <link href="index.css" rel="stylesheet">
    <script src="jquery.min.js"></script>
</head>

<body>

    <div class="weixin-tip">
        <p>
            <img id="iOS_tips" style="width: 100%;" src="iosweixin.png" alt="微信打开">
        </p>
    </div>
    <script>
        var ua = navigator.userAgent.toLowerCase();
        device = null;
        var u = navigator.userAgent;
        if (u.indexOf("Android") > -1 || u.indexOf("Linux") > -1) {
            device = 'android';
            $("#appType").attr('src', 'android.png');
        }

        if (u.indexOf("iPhone") > -1 || u.indexOf("iOS") > -1) {
            device = 'iOS';
            $("#appType").attr('src', 'ios.png');
        }


        var img = null;
        $('.weixin-tip').css('display', 'block');
        if (device == 'android') {
            img = 'androidweixin.png';
        } else if (device == 'iOS') {
            img = 'iosweixin.png';
        }
        if (img) {
            $('#iOS_tips').attr('src', img);
        }
    </script>
</body>

</html>